import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';

@Component({
  selector: 'app-date',
  templateUrl: './date.page.html',
  styleUrls: ['./date.page.scss'],
})
export class DatePage implements OnInit {

  constructor(private router: Router) { }

  ngOnInit() {
  }

  gotohome(){
    this.router.navigate(['/'])
  }

  getBlur(){
    console.log("执行getBlur");
  }
  getCancel(){
    console.log("执行getCancel");
  }
  getChange(){
    console.log("执行getChange");
  }
  getFocus(){
    console.log("执行getFocus");
  }

}
